<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/include/includeHeader.jsp"%>
<%@ include file="/common/include/dictNames.jsp"%>
<%@ page import="com.kylin.module.specials.orm.Special,
			     com.kylin.common.paginate.DisplayPage,
			     java.util.*,
			     java.text.*"%>
 

<div class="in_title_lin"><bean:message key="home.05" /></div>
<div id="in_ts">
   <ul>
<%
	Special s = null;
	if (request.getAttribute("newSpecial6List") instanceof DisplayPage) {
		DisplayPage dispage = (DisplayPage) request.getAttribute("newSpecial6List");
		for (int i = 0; i < dispage.getList().size(); i++) {
			Special obj = (Special) dispage.getList().get(i);
			s = obj;
%>
       <li><a href="/module/special/manageSpecial.do?CMD=detailSpecial&id=<%=obj.getId() %>" target="_blank">
             <%=obj.getTitle()%>
           </a>
       </li>
       <li class="in_date"><%=UTool.getCountryName(obj.getLanguage(), sessionLocale)%>&nbsp;&nbsp;
			<%  
			    if(obj.getCreatedon() != null)
					out.println(new SimpleDateFormat("yyyy-MM-dd").format(obj.getCreatedon()) );
			%>
       </li>
<%
	    }
    }
%>

      </ul>
    </div>
<div class="clean"></div>

<%  if(s != null){ %>    
<div class="in_more">	
        <a href="/module/special/manageSpecial.do?CMD=listByCat&id=<%=s.getCatspecial().getId() %>" target="_blank"><bean:message key="base.04" /></a>
</div>
<%  }   %>




